{extend name='table'}

{block name="button"}

{/block}

{block name="content"}
<div class="think-box-shadow">
    {include file='user/index_search'}
    <table id="OplogTable" data-url="{:request()->url()}" data-target-search="form.form-search"></table>
</div>
{/block}

{block name='script'}
<script>
    $(function () {
        $('#OplogTable').layTable({
            even: true, height: 'full',
            sort: {field: 'id', type: 'desc'},
            cols: [[
                {checkbox: true},
                {field: 'id', title: '序号', width: 130, sort: true, align: 'center'},
                {field: 'openid', title: '{:lang("openid")}'},
                {field: 'nickname', title: '{:lang("会员呢称")}'},
                {field: 'baby_sex', title: '{:lang("性别")}'},
                {field: 'baby_birthday', title: '{:lang("生日")}'},
                {field: 'realname', title: '{:lang("姓名")}'},
                {field: 'rec_mobile', title: '{:lang("手机号")}' },
                {field: 'first_buy_wd', title: '{:lang("绑定门店")}'},
                {field: 'create_time', title: '{:lang("注册时间")}' },
                // {field: 'pici_count', title: '{:lang("当前库存量")}', minWidth:200,},
                // {toolbar: '#toolbar', title: '{:lang("操作面板")}',width: 200, align: 'center',fixed: 'right'}
            ]]
        });
    });
</script>

{/block}